Platform Explorer / Nuxeo Platform 5.8

Component org.nuxeo.ecm.social.workspace.content.template

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.social.workspace.content.template">

  <require>
    org.nuxeo.ecm.platform.content.template.service.ContentTemplateService.defaultContrib
  </require>


  <extension
    target="org.nuxeo.ecm.platform.content.template.service.ContentTemplateService"
    point="factoryBinding">

    <factoryBinding name="RootFactory" factoryName="SimpleTemplateRootFactory" targetType="Root" append="true">
      <template>
        <templateItem typeName="SocialDomain" id="collaboration" title="Collaboration" />
      </template>
    </factoryBinding>

    <factoryBinding name="SocialWorkspaceFactory"
      factoryName="SimpleTemplateFactory" targetType="SocialWorkspace">
      <template>
        <templateItem typeName="SocialSection" id="private-section"
          title="Social Section" description="Private publication space"/>
        <templateItem typeName="SocialSection" id="public-section"
          title="Public Social Section" description="Public publication space"/>
        <templateItem typeName="NewsItemsRoot" id="news-root"
          title="News" description="Contains all news items from this Social Workspace"/>
        <templateItem typeName="DashboardSpacesContainer" id="social"
          title="Dashboard Spaces container" description="Contains the public and private Dashboard Space"/>
        <templateItem typeName="Space" id="privateDashboardSpace" path="social"
          title="Private Dashboard" description="Contains the private Dashboard"/>
        <templateItem typeName="Space" id="publicDashboardSpace" path="social"
          title="Public Dashboard" description="Contains the public Dashboard"/>
      </template>
    </factoryBinding>
  </extension>

  <extension target="org.nuxeo.ecm.platform.content.template.service.ContentTemplateService"
    point="postContentCreationHandlers">

    <postContentCreationHandler name="collaborationHandler"
      class="org.nuxeo.ecm.social.workspace.CollaborationHandler" />

  </extension>

</component>